<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <style>
      * {
        padding: 0;
        margin: 0;
      }
      html,
      body {
        height: 100%;
      }
      .wrapper {
        height: 100%;
        background-color: #000;
        display: flex;
        flex-direction: row;
        /* align-items: center; */
      }
      .left {
        width: 200px;
        /* flex-grow: 0;
        flex-shrink: 0;
        flex-basis: auto; */
        background-color: aliceblue;
        overflow: auto;
        flex: none;
      }
      .right {
        /* flex-grow: 1;
        flex-shrink: 1;
        flex-basis: auto; */
        flex: 1;
        background-color: azure;
        display: flex;
        flex-direction: column;
        overflow: hidden;
      }
      .right-top {
        height: 200px;
        background-color: #000;
        /* flex-grow: 0;
        flex-shrink: 0;
        flex-basis: auto; */
        flex: none;
      }
      .right-bottom {
        flex-grow: 1;
        flex-shrink: 1;
        flex-basis: auto;
        background-color: red;
        overflow: auto;
      }
      .item {
        height: 1000px;
      }
    </style>
    <title>Document</title>
  </head>
  <body>
    <div class="wrapper">
      <div class="left">
        <div class="item"></div>
      </div>
      <div class="right">
        <div class="right-top"></div>
        <div class="right-bottom">
          <div class="item"></div>
        </div>
      </div>
    </div>
  </body>
</html>
